package com.guge.sports.entity.Dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 学院跑步数据
 * @author peng
 * @create 2022/9/19 10:29
 */
@Data
public class DeptRunDetailDto extends Model<DeptRunDetailDto> implements Serializable {
    private static final long serialVersionUID = -2142708000700956401L;

    @ApiModelProperty(value = "学院名")
    private String deptName;

    @ApiModelProperty(value = "学院id")
    private Long deptId;

    @ApiModelProperty(value = "总有效次数")
    private Integer validCount;

    @ApiModelProperty(value = "总有效里程")
    private Double validCountMile;

    @ApiModelProperty(value = "参与人数")
    private Integer joinNum;

    @ApiModelProperty(value = "有效人均次数")
    private Double validCountAvg;

    @ApiModelProperty(value = "有效人均次数")
    private Double validMileAvg;

    @ApiModelProperty(value = "学期名称，传参")
    private String semesterName;

    @ApiModelProperty(value = "入学年份，传参")
    @DateTimeFormat(pattern = "yyyy")
    @JsonFormat(pattern ="yyyy",timezone = "GMT+8")
    private Date goschoolYear;

    @ApiModelProperty(value = "性别 1.男 0.女，传参")
    private Integer sex;

    @ApiModelProperty(value = "开始时间，传参")
    private Date startTime;

    @ApiModelProperty(value = "结束时间，传参")
    private Date endTime;
}
